package cn.com.nes.site.entity.dto.maintenanceReminder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;


@TableName("maintenance_equipment_table")
@Data
public class MaintenanceEquipmentDto {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品类型
     */
    @NotNull
    @TableField(value = "type")
    private Integer type;

    /**
     * 设备型号
     */
    @TableField(value = "equipment_model")
    private String equipmentModel;
    //设备名称
    @TableField(value = "equipment_name")
    private String equipmentName;

    /**
     * 逻辑删除:   1表示删除，0表示未删除
     */
    @TableField(value ="is_delete")
    private Byte isDelete;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Long gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value ="gmt_modified")
    private Long gmtModified;
    //厂家名称
    @TableField(value ="manufacture_id")
    private String manufactureId;
    @TableField(value ="is_enabled")
    private Integer isEnabled;
}